package com.nectech.constant;

/**
 * @Author: 浅小北
 * @ClassName: Constant
 * @Description: 常量类，存放项目中的所有常量
 * @Date: 2021/1/27 10:37
 * @Since: version-1.0
 */
public class Constant {
    public static final int WINDOW_WIDTH = 1900;
    public static final int WINDOW_HEIGHT = 1000;
    //游戏标题
    public static final String GAME_TITLE = "冒险王";

    //图片前缀
    public static final String IMAGE_PATH_PRE = "img/";
    //图片后缀
    public static final String IMAGE_PATH_SUF = ".png";
    //英雄初始速度
    public static final int WALK_SPEED = 5;
    //怪物的初始速度
    public static final int MOB_WALK_SPEED = 3;
    //英雄跳跃初始速度
    public static final double HERO_JUMP_SPEED = 30;
    //道具初始跳跃速度
    public static final double PROP_JUMP_SPEED = 35;
    //背景音乐
    public static final String PRE_MP3 = "sounds/";
}
